package com.intelligence.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.intelligence.entity.pojo.SysUser;
import com.intelligence.entity.vo.SysUserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2024-05-15 19:38:31
* @Entity com.intelligence.domain.SysUser
*/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {

    Page<SysUserVo> selectAllUsersAndRole(Page<SysUserVo> objectPage, @Param("roleId") Integer roleId);

    int alertTheStatus(Integer id);
}




